package com.feature.shop.user.listener.mq;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import com.feature.shop.auth.api.constant.AuthMqConstatns;

@Component
@RabbitListener(queues = AuthMqConstatns.SHOP_LOGIN_SUCCESS_QUEUE)
public class ShopLoginSuccessListener {

	@RabbitHandler
	public void loginSuccess(String json) {
		System.out.println(json);
	}
}
